import request from '@/utils/request'

export function GetCategory(id, current, sort) {
    return request({
        url: '/category/' + id,
        method: 'get',
        params: {
            current: current,
            sort: sort
        }
    })
}

export function GetProduct(id) {
    return request({
        url: '/product/' + id,
        method: 'get'
    })
}